#import <UIKit/UIKit.h>
#import "Tools.h"
#import "AppDelegate.h"
#import "LoginUI.h"
#import "Toast+UIView.h"
#import "ASIFormDataRequest.h"
#import "BirthdayUI.h"
#import "MBProgressHUD.h"
#import "JSON.h"
#import "ProvinceCityPicker.h"
#import "UIImageView+WebCache.h"
@interface MingPianUI : UIViewController<UIActionSheetDelegate,UITextFieldDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,UITableViewDelegate,UITableViewDataSource>{
    UILabel*  mpLb;
    int   uid;
    NSString*  birthday;
    UITableView *table;
    NSString* kdType;
    BirthdayUI*  picker;
    ProvinceCityPicker*  provincePicker;
     ProvinceCityPicker*  homeTownPicker;//故乡
    
    UIButton*  addAddressBtn;//所在地
    UIButton*  hometownBtn;//故乡
    
    UIButton *typeBtn;
    UIButton *todayTomorrowBtn;
    
    
    NSString* bdImgPath;
    NSString* avatar;
    NSData *data;
    NSString*  serverPath;
    UIImageView *avatarImgView;
    
    UIImageView *imgViewFrame;
    
    NSString* today_tomorrow;
    
    
    UITextField* nicknameTF;
    UITextField* weightTF;
    UIButton* qujianTF;
    UITextField* startAddrTF;
    UITextField* endAddrTF;
    UITextField* receiveMpTF;
    
    UITextField* arriveTimeTF;
    
    UITextField* lengthTF;
    UITextField* widhthTF;
    UITextField* heightTF;
    
    UITextField* road1TF;
    UITextField* road2TF;
    UITextField* mpTF;
    NSString* mp;
    NSString* city;
    NSString* zone;
    NSString* province;
    //
    NSString* homecity;
    NSString* homezone;
    NSString* homeprovince;
    UITextView*  qmView;
    
    NSString* nickname;
    NSString*  qm;
    NSString*  city_name;
    NSString* start_addr;
    NSString* arrive_time;
    
    NSString* length;
    NSString* width;
    NSString* height;
    
    NSString*  gender;
    NSString*  road2;
    NSString*  receiver_mp;
    NSString*  end_addr;
    
    UIToolbar* toolbar;
    
    
    
    UIButton*  arriveTimeBtn;
    
    NSString* month;
    NSString* day;
    NSString* hour;
    NSString* minute;
    NSString* year;
    
    int  code;
    
    NSDictionary*  myInfoDic;
    
    UITextField*  birthDateField;
    UIDatePicker*  datePicker;
    
    
}
@property(nonatomic,retain)UIButton* hometownBtn;//故乡
@property(nonatomic,retain)UIButton* addAddressBtn;
@property(nonatomic,retain)NSString* nickname;
@property(nonatomic,retain)NSString* qm;
@property(nonatomic,retain)NSString* city_name;
@property(nonatomic,retain)NSString* receiver_mp;
@property(nonatomic,retain)NSString* road1;
@property(nonatomic,retain)NSString* road2;
@property(nonatomic,retain)NSString* mp;

@property(nonatomic,retain)NSString* gender;
@property(nonatomic,retain)NSString* weight;
@property(nonatomic,retain)NSString* qujian_time;
@property(nonatomic,retain)NSString* start_addr;
@property(nonatomic,retain)NSString* arrive_time;

@property(nonatomic,retain)NSString* length;
@property(nonatomic,retain)NSString* width;
@property(nonatomic,retain)NSString* height;


@property(nonatomic,retain)NSString* serverPath;
@property(nonatomic,retain)NSString* avatar;
@property(nonatomic,retain)NSString* bdImgPath;
@end
